package com.gitee.lht.common.IAssert;

/**
 * @author Eric
 * @version 1.0
 * @date 2019-12-13
 */
public enum Demo implements ErrorInfo {
    RUN_TIME(-1, "system's error");

    private int code;

    private String message;

    Demo(int code, String message) {
        this.code = code;
        this.message = message;
    }

    @Override
    public int getCode() {
        return 0;
    }

    @Override
    public String message() {
        return null;
    }
}
